Skip to content

chore(deps): update dependency golangci-lint to v2.10.1 (master)#6299

Merged
oilbeater merged 2 commits intomasterfrom
renovate/master-golangci-lint-2.x
Feb 21, 2026
Merged

chore(deps): update dependency golangci-lint to v2.10.1 (master)#6299
oilbeater merged 2 commits intomasterfrom
renovate/master-golangci-lint-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Feb 11, 2026

This PR contains the following updates:

Package Update Change
golangci-lint minor v2.8.0v2.10.1

Release Notes

golangci/golangci-lint (golangci-lint)

v2.10.1

Compare Source

Released on 2026-02-17

  1. Fixes
    • buildssa panic

v2.10.0

Compare Source

Released on 2026-02-17

  1. Linters new features or changes
    • ginkgolinter: from 0.22.0 to 0.23.0
    • gosec: from 2.22.11 to 2.23.0 (new rules: G117, G602, G701, G702, G703, G704, G705, G706)
    • staticcheck: from 0.6.1 to 0.7.0
  2. Linters bug fixes
    • godoclint: from 0.11.1 to 0.11.2

v2.9.0

Compare Source

Released on 2026-02-10

  1. Enhancements
    • 🎉 go1.26 support
  2. Linters new features or changes
    • arangolint: from 0.3.1 to 0.4.0 (new rule: detect potential query injections)
    • ginkgolinter: from 0.21.2 to 0.22.0 (support for wrappers)
    • golines: from 0.14.0 to 0.15.0
    • misspell: from 0.7.0 to 0.8.0
    • unqueryvet: from 1.4.0 to 1.5.3 (new options: check-n1, check-sql-injection, check-tx-leaks, allow, custom-rules)
    • wsl: from 5.3.0 to 5.6.0 (new rule: after-block)
  3. Linters bug fixes
    • modernize: from 0.41.0 to 0.42.0
    • prealloc: from 1.0.1 to 1.0.2
    • protogetter: from 0.3.18 to 0.3.20
  4. Misc.
    • Log information about files when configuration verification
    • Emit an error when no linters enabled
    • Do not collect VCS information when loading code

Configuration

📅 Schedule: Branch creation - Between 03:00 PM and 11:59 PM ( * 15-23 * * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 11, 2026
@coveralls
Copy link
Copy Markdown

coveralls commented Feb 11, 2026

Pull Request Test Coverage Report for Build 22257346029

Details

  • 1 of 10 (10.0%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.001%) to 23.057%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/tproxy/tproxy_tcp_linux.go 0 1 0.0%
pkg/ovn_ic_controller/ovn_ic_controller.go 0 2 0.0%
pkg/controller/subnet.go 0 3 0.0%
pkg/ovn_leader_checker/ovn.go 0 3 0.0%
Totals Coverage Status
Change from base Build 22256673532: 0.001%
Covered Lines: 12533
Relevant Lines: 54357

💛 - Coveralls

@renovate renovate bot force-pushed the renovate/master-golangci-lint-2.x branch 3 times, most recently from a93e461 to 532b37b Compare February 12, 2026 08:43
@renovate renovate bot changed the title chore(deps): update dependency golangci-lint to v2.9.0 (master) chore(deps): update dependency golangci-lint to v2.10.1 (master) Feb 17, 2026
@renovate renovate bot force-pushed the renovate/master-golangci-lint-2.x branch 3 times, most recently from bc776d1 to eb1e9b3 Compare February 21, 2026 01:10
@renovate renovate bot force-pushed the renovate/master-golangci-lint-2.x branch from eb1e9b3 to 058f4a6 Compare February 21, 2026 12:21
- Add #nosec G117 for BGP password field (legitimate user-configured value)
- Add #nosec G602 for fixed-size array accesses in subnet route reconciliation
- Add #nosec G702/G704 for trusted internal command/network operations in ovn-leader-checker
- Add #nosec G115 for safe int→uintptr conversion on 64-bit Linux
- Replace WriteString(fmt.Sprintf(...)) with fmt.Fprintf(...) (perfsprint auto-fix)
- Add golangci.yml exclusion for revive stdlib package name conflict warnings

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Feb 21, 2026
@oilbeater oilbeater merged commit 23af563 into master Feb 21, 2026
145 of 148 checks passed
@oilbeater oilbeater deleted the renovate/master-golangci-lint-2.x branch February 21, 2026 14:47
@dosubot
Copy link
Copy Markdown

dosubot bot commented Feb 21, 2026

Related Documentation

Checked 0 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

zbb88888 pushed a commit to qiniu/kube-ovn that referenced this pull request Apr 8, 2026
…eovn#6299)

* chore(deps): update dependency golangci-lint to v2.10.1

* fix(lint): resolve golangci-lint v2.10.1 issues

- Add #nosec G117 for BGP password field (legitimate user-configured value)
- Add #nosec G602 for fixed-size array accesses in subnet route reconciliation
- Add #nosec G702/G704 for trusted internal command/network operations in ovn-leader-checker
- Add #nosec G115 for safe int→uintptr conversion on 64-bit Linux
- Replace WriteString(fmt.Sprintf(...)) with fmt.Fprintf(...) (perfsprint auto-fix)
- Add golangci.yml exclusion for revive stdlib package name conflict warnings

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants